<?php
defined('IN_TS') or die('Access Denied.');

//馆东证

$groupid = intval($_GET['id']);

if($groupid == '') {
	header("HTTP/1.1 404 Not Found");
	header("Status: 404 Not Found");
	$title = '404';
	include pubTemplate("404");
	exit;
}
$strGroup = $new['group']->getOneGroup($groupid);

$strGroupUser = $new['group']->find('group_user','groupid='.$groupid.' and userid='.$GLOBALS['TS_USER']['userid'].' and(isstock=1 or isstock=2)');

if(!$strGroupUser){
	tsNotice('非馆东，无馆东证！');
}

include template("cert");

